<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../vue.js"></script>
</head>
<body>
    <div id="app">
        <h1 study="js">{{msg}}</h1>
        <h1 v-bind:aaa="bbb"></h1>
        <h1 v-bind:isHot="isHot?'热':'冷'"></h1>
        <img v-bind:src="'http://www.baidu.com/'+src" alt="">
        <input type="text" v-bind:value="msg">
    </div>

    <script>

        const vm = new Vue({
            el:"#app",
            data(){
                return {
                    bbb:111,
                    msg : "Hello Vue!!",
                    isHot:true,
                    src:"01.jpg"
                }
            }
        })


    </script>
    
</body>
</html>